package org.jeecg.modules.inspection.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.modules.system.entity.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 1
 * @Author: jeecg-boot
 * @Date:   2019-09-25
 * @Version: V1.0
 */
@Data
@TableName("set_inspection_exception")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="set_inspection_exception对象", description="1")
public class InspectionException extends BaseEntity {
    
	/**id*/
	@TableId(type = IdType.UUID)
    @ApiModelProperty(value = "id")
	private String id;
	/**tenantId*/
	@Excel(name = "tenantId", width = 15)
    @ApiModelProperty(value = "tenantId")
	private String tenantId;
	/**officeId*/
	@Excel(name = "officeId", width = 15)
    @ApiModelProperty(value = "officeId")
    @Dict(dictTable = "sys_depart",dicText = "depart_name",dicCode = "id")
	private String officeId;
	/**处理岗位*/
	@Excel(name = "处理岗位", width = 15)
    @ApiModelProperty(value = "处理岗位")
	private String handPosition;
	/**接收岗位*/
	@Excel(name = "接收岗位", width = 15)
	@ApiModelProperty(value = "接收岗位")
	private String acceptPosition;
	/**条线*/
	@Excel(name = "条线", width = 15)
    @ApiModelProperty(value = "条线")
	@Dict(dicCode = "belong_depart")
	private Integer reciveType;
	/**createBy*/
	@Excel(name = "createBy", width = 15)
    @ApiModelProperty(value = "createBy")
	private String createBy;
	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
	private Date createTime;
	/**updateBy*/
	@Excel(name = "updateBy", width = 15)
    @ApiModelProperty(value = "updateBy")
	private String updateBy;
	/**updateTime*/
	@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
	private Date updateTime;
	/**delFlag*/
	@Excel(name = "delFlag", width = 15)
    @ApiModelProperty(value = "delFlag")
	private Integer delFlag;
	@TableField(exist = false)
	private List<String> handPositionList;
	@TableField(exist = false)
	private List<String> acceptPositionList;

	@TableField(exist = false)
	private String handPositionNames;

	@TableField(exist = false)
	private String acceptPositionNames;
}
